package com.zhongwang.business.gen.mapper;

import com.zhongwang.business.gen.entity.CosDetail;
import com.zhongwang.business.gen.entity.CosDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CosDetailMapper {
    long countByExample(CosDetailExample example);

    int deleteByExample(CosDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CosDetail record);

    int insertSelective(CosDetail record);

    List<CosDetail> selectByExample(CosDetailExample example);

    CosDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CosDetail record, @Param("example") CosDetailExample example);

    int updateByExample(@Param("record") CosDetail record, @Param("example") CosDetailExample example);

    int updateByPrimaryKeySelective(CosDetail record);

    int updateByPrimaryKey(CosDetail record);
}